package com.ruoyi.bearing.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 寿命预测结果对象 bearing_life_forecast_result
 * 
 * @author ruoyi
 * @date 2025-02-08
 */
public class BearingLifeForecastResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 预测文件路径 */
    @Excel(name = "预测文件路径")
    private String forecastFileUrl;

    /** 结果文件路径 */
    @Excel(name = "结果文件路径")
    private String resultFileUrl;

    /** 元器件 */
    @Excel(name = "元器件")
    private String componentsPart;

    /** 元器件名称 */
    @Excel(name = "元器件名称")
    private String componentsPartName;

    /** 模型 */
    @Excel(name = "模型")
    private String model;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modelName;

    /** 曲线 */
    @Excel(name = "曲线")
    private String curve;

    /**
     * 百分比
     */
    @Excel(name = "百分比")
    private String rul;

    /**
     * 工况
     */
    private String workingCondition;

    /**
     * 工况名称
     */
    private String workingConditionName;

    public String getWorkingCondition() {
        return workingCondition;
    }

    public void setWorkingCondition(String workingCondition) {
        this.workingCondition = workingCondition;
    }

    public String getWorkingConditionName() {
        return workingConditionName;
    }

    public void setWorkingConditionName(String workingConditionName) {
        this.workingConditionName = workingConditionName;
    }

    /**
     * 模型类型
     */
    private String modelType;

    public String getModelType() {
        return modelType;
    }

    public void setModelType(String modelType) {
        this.modelType = modelType;
    }

    public String getRul() {
        return rul;
    }

    public void setRul(String rul) {
        this.rul = rul;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setForecastFileUrl(String forecastFileUrl) 
    {
        this.forecastFileUrl = forecastFileUrl;
    }

    public String getForecastFileUrl() 
    {
        return forecastFileUrl;
    }
    public void setResultFileUrl(String resultFileUrl) 
    {
        this.resultFileUrl = resultFileUrl;
    }

    public String getResultFileUrl() 
    {
        return resultFileUrl;
    }
    public void setComponentsPart(String componentsPart) 
    {
        this.componentsPart = componentsPart;
    }

    public String getComponentsPart() 
    {
        return componentsPart;
    }
    public void setComponentsPartName(String componentsPartName) 
    {
        this.componentsPartName = componentsPartName;
    }

    public String getComponentsPartName() 
    {
        return componentsPartName;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setCurve(String curve) 
    {
        this.curve = curve;
    }

    public String getCurve() 
    {
        return curve;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("forecastFileUrl", getForecastFileUrl())
            .append("resultFileUrl", getResultFileUrl())
            .append("componentsPart", getComponentsPart())
            .append("componentsPartName", getComponentsPartName())
            .append("model", getModel())
            .append("modelName", getModelName())
            .append("curve", getCurve())
            .append("createTime", getCreateTime())
            .toString();
    }
}
